package com.bicon.botu.medical.model.entity

import com.baomidou.mybatisplus.annotations.TableField
import com.baomidou.mybatisplus.annotations.TableName
import com.bicon.botu.core.base.repository.mybatis.UuidBaseEntity

/**
 * @version 1.0.0
 * @author: Gyb
 * @date 2018/7/17
 * @description
 **/
@TableName("custom_food_component")
data class CustomFoodComponent(
        /**
         * 食物id
         */
        @TableField("food_id")
        val foodId: String? = null,
        /**
         * 成分名称
         */

        val name: String? = null,
        /**
         * 数量
         */

        val amount: String? = null,
        /**
         * 单位
         */

        val unit: String? = null
) : UuidBaseEntity<CustomFoodComponent>()